package controller;

import java.util.List;

import mapproviderapi.MapProvider;
import mapproviderapi.OpenStreetMapProvider;
import model.Map;
import model.MapTileImage;
import model.SimpleMap;

public class MapController {
	private Map map;
	private List<MapTileImage> listMapTileImage;
	public MapController(int mapWidth, int mapHeight){
		map = new SimpleMap(new OpenStreetMapProvider(mapWidth, mapHeight));
		listMapTileImage = map.getMapTileImages(10, 10, 10);
	}
	
	public List<MapTileImage> getTileMapImage(){
		return listMapTileImage;
	}
}
